Skip to content
  • 0 Votes
    5 Posts
    1k Views
    Tahera IrumT

    ANSWER’S:
    His prophet hood is universal:

    EXPLANATION:
    Hazrat Muhammad (PBUH) is the last Prophet means that his Prophet Hood is universal. He was the best example for the the world .His Prophet hood is sufficient for all humanity up to the end of this world. He is not the prophet of his age but he is the Prophet of every age.

     “In God’s messenger you have indeed a good example for everyone who looks forward with hope to God and the Last Day …”
     "Say: Obey Allah and obey the Messenger, … If you obey him, you shall be on the right guidance”

    He is seal of prophet hood:

    EXPLANATION:
    Hazrat Muhammad (s.a.w) is the last prophet of Allah Almighty, Quran is last truth book. The Holy Prophet is seal of Prophet Hood .Allah called the Holy Prophet is Khata-mun-nabyeen. No one Prophet will come after the Prophet (s.a.w).
     “Muhammad is not the father of any of your men,1 but is the Messenger of Allah and the seal of the prophets”
    Deen is completed upon him:
    EXPLANATION:
    As you know that the Holy Prophet (s.a.w) is the last divine Prophet of Allah .No one is comes after the Mustafa (s.a.w).
    Deen is completed upon him. If we want to be a successful person in our both lives (In the world and at the Judgment day)we ought to obey the Holy Prophet(s.a.w)’s firmaans and AHADEES .Because of the deen –e- islam is the Deen of Allah and Mustafa (s.a.w).

     “SAY, ALLAH IS ONE /ALONE AND MUHAMMAD (S.A.W) IS THE LAST DIVINE PROPHET OF ALLAH ALLMIGHTY”

    It is known by necessity that the Deen of Islam is complete, as Allah, the Exalted, says:
     “This day, I have perfected your Deen for you, completed My Favor upon you, and have chosen for you Islam as your Deen.” (Sarah Al-Ma’idah,) 5:3

    A position of praise and glory will be granted to him on the Day of Resurrection:

    EXPLANATION:

     ON the day of resurrection a position of praise and glory will be granted to Mustafa (s.a.w).
     Allah creates the world just for the praise of Mustafa (s.a.w),
     On the day of Judgement HE will be the cause of intercession.

    MUHAMMAD (S.A.W) SAYS:
     “The banner of praise will be in my hand on the Day of Resurrection”,

     All of creation will praise Muhammad for that status on the Day of Judgment! … so that He will start to judge between His slaves, and no one will be granted this except Muhammad (peace and blessings of Allah be upon him.

     “This is what the Beneficent (Allah) had promised, and the Messengers did speak the truth.”
    .
     “And that the Hour (of Resurrection) is coming, there is no doubt therein; and that Allah will raise up those in the graves.” (Qur’an, 22:1-7

  • 0 Votes
    3 Posts
    609 Views
    wajiha AsifW
    Solution://Header Files #include<stdio.H> #include<DOS.H> #include<BIOS.H> void interrupt (*oldint65)(); //To store current interrupt char far *scr=(char far* ) 0xb8000000; void interrupt newint65();//NewInt prototype void main() { oldint65 = getvect(0x65); setvect(0x65, newint65); getch(); keep(0, 1000); } void interrupt newint65() {clrscr(); *scr=8; (*scr)=0x174D; (*(scr+2))=0x1743; (*(scr+4))=0x1731; (*(scr+6))=0x1739; (*(scr+8))=0x1730; (*(scr+10))=0x1734; (*(scr+12))=0x1730; (*(scr+14))=0x1736; (*(scr+16))=0x1734; (*(scr+18))=0x1730; (*(scr+20))=0x1734; }

    429e7ece-92cc-4cef-a09c-e90f8b391518-image.png
    3e679fbc-5b4c-4ac1-a4c8-107d83737325-image.png

  • 0 Votes
    2 Posts
    282 Views
    zaasmiZ

    @zaasmi said in CS402 Assignment 1 Solution and Discussion:

    Re: CS402 Assignment 1 Solution and Discussion

    Please share CS402 Assignment 1 Fall 2020

    Theory of Automata (CS402)

    Assignment # 01

    Fall 2020

    Total marks = 20 30th November, 2020

    Please carefully read the following instructions before attempting assignment.

    RULES FOR MARKING

    It should be clear that your assignment would not get any credit if:

    The assignment is submitted after the due date.
    The submitted assignment does not open or file is corrupt.
    Strict action will be taken if submitted solution is copied from any other student or from the internet.

    You should concern the recommended books to clarify your concepts as handouts are not sufficient.

    You are supposed to submit your assignment in .doc or docx format.

    Any other formats like scan images, PDF, zip, rar, ppt and bmp etc will not be accepted.

    Topic Covered:

    Objective of this assignment is to assess the understanding of students about:

    · The concept of languages

    · Regular Expressions

    · Finite automata.

    NOTE

    No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

    If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.

    For any query, feel free to email at:

    [email protected]

    Questions No 01 Marks (10)

    Construct a FA which recognizes the set of all strings defined over ∑= {0, 1} ending with the suffix ‘10’. Also draw transition table for that language.

    Questions No 02 Marks (10)

    Identify the language L accepted by the following regular expression abab(a + b)*. Also define the recursive definition of that language.
    Which of the following string(s) is/are part of language L defined as above?
    baaba
    aabaa
    abbbab
    babaa

  • 0 Votes
    3 Posts
    1k Views
    zareenZ

    @zareen said in CS101 Assignment 1 Solution and Discussion Fall 2020:

    decimal numbers into equivalent binary numbers and then convert the binary

  • 0 Votes
    3 Posts
    1k Views
    zaasmiZ

    @zareen said in MTH603 Assignment 1 Solution and Discussion:

    Question #2: Solve the system of linear equations with the help of Gaussian elimination method.
    2x + y + z = 9;3x −2y + 4z = 9;x +y-2z = 3

    System of Linear Equations entered :

    [1] 2x + y + z = 9
    [2] 3x - 2y + 4z = 9
    [3] x + y - 2z = 3

    Solve by Substitution :

    // Solve equation [3] for the variable y

    [3] y = -x + 2z + 3

    // Plug this in for variable y in equation [1]

    [1] 2x + (-x +2z+3) + z = 9
    [1] x + 3z = 6
    // Plug this in for variable y in equation [2]

    [2] 3x - 2•(-x +2z+3) + 4z = 9
    [2] 5x = 15
    // Solve equation [2] for the variable x

    [2] 5x = 15

    [2] x = 3
    // Plug this in for variable x in equation [1]

    [1] (3) + 3z = 6
    [1] 3z = 3
    // Solve equation [1] for the variable z

    [1] 3z = 3

    [1] z = 1
    // By now we know this much :

    x = 3
    y = -x+2z+3
    z = 1
    // Use the x and z values to solve for y
    y = -(3)+2(1)+3 = 2

    Solution :
    {x,y,z} = {3,2,1}

  • 0 Votes
    1 Posts
    206 Views
    No one has replied
  • 0 Votes
    1 Posts
    732 Views
    No one has replied
  • 0 Votes
    5 Posts
    208 Views
    zaasmiZ

    @zaasmi said in MGMT630 Assignment 1 Solution and Discussion:

    Question: What are the reasons of failure despite of having awareness about the significance of knowledge management? Write three reasons of failures and what could be done differently to avoid those failures.How to Attempt the Assignment:

    Here 3 reasons of failure why the knowledge management was not successful:

    Social activities for knowledge-sharing were not met due to the lack of specific or appropriate guidelines. Reward system for knowledge creation/sharing turned out to have negative effect. The cutting-edge solution and the notion for IT was not greatly utilized due to lack computer literacy.

    Explanation:
    To explain futher the failures of what went wrong despite having the significance of knowledge management are as follows:

    The main purpose in having the said social and knowledge sharing acitivites was defeated due to an unprepared set of guidelines which will be used in the said aspect. Instead of having an open discussion about the task and organizational improvement, the employees are gossipping nonsense about their co-employees. Preparing a standard set of topics prior to the event should have been done by the organizers to avoid nonsense activities and thus promote a negative effect as to what knowledge management was all about. The reward system was negatively used just to improved one’s self. Instead of sharing the knowledge, it was kept for self-interest due to the driving force of money. Another approach that could have been done with this matter is that the reward system should be rewarded by group as to passed on knowledge to their co-members. With this, the members are willing to participate and share their knowledge to other members and strive to achieve to get that reward system as a team. It is a win-win situation for both the employees and the company. The used of IT was not met eventhough it provides cutting-edge solution to the company. Before introducing to the employees the importance of IT, the company should have done workshops or seminars to further broaden the knowledge of the employees about computer literacy. Practices with technology should have been done first by the management to enhance the skills of their employees since it will benefit the company a lot in this matter and thus speeding the work or knowledge distribution faster.
  • 0 Votes
    7 Posts
    437 Views
    Hania ButtH

    Preliminary Requirement:
    In this assignment students have to solve a case study. The case study can be downloaded from the Downloads section of LMS. File name: “Why Knowledge Management Fails - Lessons from a Case Study”.
    The case study is about a typical organization with a strong awareness and expectation of knowledge management, yet its program failed within two years.
    Question:
    What are the reasons of failure despite of having awareness about the significance of knowledge management? Write three reasons of failures and what could be done differently to avoid those failures.
    How to Attempt the Assignment:

    Narrate the failures in bullets format. 2. Give heading of each failure and then rationally discuss about it in next paragraph. 3. Maximum word limit is 1000 words.
  • 0 Votes
    2 Posts
    153 Views
    zaasmiZ

    @zaasmi said in CS606 Assignment 1 Solution and Discussion:

    Task 1:
    For regular expression below, construct an NFA using Thompson’s construction. (10 Marks)
    R.E. = (y* xy* x)* y*

    43407e94-3b07-4a76-ad67-3af3f378f29b-image.png

  • 0 Votes
    3 Posts
    252 Views
    zaasmiZ

    @zaasmi said in CS611 Assignment 1 Solution and Discussion:

    Question - II: Marks: 10
    Continuing the above scenario why is defect-free software important and writes any five steps by which you ensure that your software becomes defects-free.

    Defect-free software is important because

    Delivering defect-free software reduces support costs. Delivering defect-free software reduces programming costs. Delivering defect-free software reduces development time. Delivering defect-free software can provide a competitive advantage

    To ensure that my software is defect-free, I will follow the following steps.

    Will ensure that my collected requirements are accurate and complete Will Trace Every Line of Code When Written Will get time-to-time feedback from client Will perform testing by completing each module Will do proper communication with team members to avoid bugs in software
  • 0 Votes
    4 Posts
    520 Views
    zaasmiZ

    @Fouzia-Suleman said in MGT201 Assignment 1 Solution and Discussion:

    IA new investor wants to add bonds and shares in his portfolio and he has two options available with the following information.
    I. Company ABC issued a five-year bond with face value of Rs.1,000. The bond offers 12% semiannual coupon payment. The market interest rate for such type of investment is 14% per annum while current market price of bond is Rs.940.
    II. The stock of company XYZ is being sold at Rs.54 per share while the forecasted dividend is Rs.6 for first year and Rs.7 for the second year. The price of the stock after year 2 is expected to be Rs.55. The Company paid most recent dividend as Rs.5 whereas the rate of return for such type of investment is 14% per annum.
    You are required to help the investor in valuation of both investment options by calculating:

    Intrinsic value of the bond. (8 marks)
    Intrinsic Value of stock today. (8 marks)
    Identify either bond and stocks are overvalued or undervalued. Justify your answer with proper calculation and reasoning. (4 Marks)

    Assignment#01
    Marks 20

    Intrinsic value of the bond
    Po=Σ Ct/ (1+r/2)n + Par/1+r/2)n
    C = coupon payments = 100012/100 = 120/2 = Rs.60
    No. of coupon payments = 52 = 10 (semi-annual) Required rate of return: 14/2 = 7% (semiannual)
    = 60Annuity factor (7%,10) + 1,000 * PV factor (7%, 10) = 60{1-1/ (1+0.14/2) 52) / (0.14/2)} + 1,000/ (1+ (0.14/2)5*2 = 60{1-1/ (1+0.07)10 /0.07} + 1,000/ (1+0.07)10
    = 421.41+ 508.35
    = Rs. 929.76

    Intrinsic value of the stock
    Do = Current dividend = Rs.5 D1 = Rs.6
    D2 = Rs.7
    Value of Stock:
    Po = D1/ (1+i)n + D2/ (1+i)n + P2/(1+i)n Po = 6/ (1.14)1+ 7/ (1.14)2 + 55/ (1.14)2 Po = 5.26+5.39+42.32
    Po = Rs.52.97
    Bond and Stock valuation Solution

    Overvaluation or undervaluation of securities
    For Bond
    Bond is overvalued because market price is more than intrinsic value i.e. Market price > Intrinsic value
    940 > 929.76
    For Stock
    Stick is also overvalued as its market price is more than its intrinsic value i.e. Market price > Intrinsic value
    54 > 52.97

  • 0 Votes
    5 Posts
    295 Views
    zareenZ

    Spring 2020_PHY301_1_SOL.pdf

  • 0 Votes
    1 Posts
    119 Views
    No one has replied
  • 0 Votes
    2 Posts
    806 Views
    zaasmiZ

    @zaasmi said in CS409 Assignment 1 Solution and Discussion:

    Question# 01:
    Scenario
    In today’s era of intelligence and mobility where every thing is shifted on mobile like mobile commerce, and mobile computing. Suppose you are working as DBA in a multinational company which works on mobile system and your company decided to change the database structure to embedded database, and as a DBA you suggest your company to used SQLite. State the reasons by which you will convince your company seniors to use SQL Lite?

    Solution:
    SQLite is file based and embeddable relational database management system. As it is lite and due to its support to relational database management system it is best to use in mobile applications. So, SQLite is very appropriate to construct an embedded database system. It is light database, and it is direct file system engine that uses SQL syntax, also doesn’t require a special database server or anything.
    Similarly, SQLite can easily adjust with the requirements of embedded system as it has small core, open source and database is a file which is very easy to apprehend the copy, move and cross platform sharing of database files. Now a days, SQLite use is increasing in embedded systems due to its advantages. SQLite will be more widely used in the embedded field, such as the remote control, intelligent mobile terminal, information appliances control, home medical equipment, mobile devices etc. In a multiplatform architecture SQLite having wide scope.

    Question # 02: Write any ten situations in which using SQLite will give best results?

    Solution:

    Embedded devices or applications Replacement for ad hoc disk files Stand-in for an enterprise database during testing or demos Multi-user applications Data analysis Application file format Server-side database Data transfer format Cache for enterprise data Internal or temporary database Websites File archive/ data container Education and Training Experimental SQL language extensions
  • 0 Votes
    6 Posts
    364 Views
    zaasmiZ

    @Rabia-Dar said in MTH302 Assignment 1 Solution and Discussion:

    @zaasmi said in MTH302 Assignment 1 Solution and Discussion:

    A retailer purchases items that cost Rs. 40.5 each. He adds a markup of 25% on the selling price. The item is then marked down to 7%. What will be the final selling price of the item.

    By definition, the markup percentage calculation is cost X markup percentage. Then add that to the original unit cost to arrive at the sales price. The markup equation or markup formula is given below in several different formats. For example, if a product costs $100, then the selling price with a 25% markup would be $125.

    Gross Profit = Sales Price – Unit Cost = $125 – $100 = $25

    Now that you have found the gross profit, let’s look at the markup percentage calculation:

    Markup Percentage = Gross Profit/Unit Cost = $25/$100 = 25%

    The purpose of markup percentage is to find the ideal sales price for your products and/or services. Use the following formula to calculate sales price:

    Sales Price = Cost X Markup Percentage + Cost = $100 X 25% + $100 = $125

    d47a1828-2f7e-4d69-ac1e-08f93efe68ec-image.png 09f31d86-6176-4331-b1c4-4290275b84bf-image.png